// import './assets/main.css'

import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import 'atropos/css'
import { router } from './router/router'
import Particles from "@tsparticles/vue3";
import { loadFull } from "tsparticles";

import App from './App.vue'
const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
	app.component(key, component)
}
app.use(ElementPlus)
app.use(router)
app.use(Particles, {
	init: async (engine: any) => {
		// you can load the full tsParticles library from "tsparticles" if you need it
		await loadFull(engine);
	},
})
app.mount('#app')